package net.seabookchen.view;

import java.io.PrintWriter;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.view.AbstractView;

public class XmlView extends AbstractView {

	@Override
	protected void renderMergedOutputModel(Map<String, Object> model,
			HttpServletRequest request, HttpServletResponse response) throws Exception {
		String xml = "Sorry, we currently don't support the xml funtion.";
		PrintWriter writer = response.getWriter();
	    writer.write(xml);
	    writer.close();
	}

}
